<div class="Aco form">
<?php echo $form->create('Aco');?>
    <fieldset style="width: 100%" class="ui-corner-all">
        <legend class="ui-corner-all ui-widget-header ui-state-active"><?php __('Editanto Objeto de Control de Acceso');?></legend>
        <table cellpadding="3px" style="width: 100%;">
            <tr>
                <td>
                    <?php
                        echo $form->input('Aco.id', array('type'=>'hidden'));
                        echo $form->input('Aco.parent_id', array(
                            'label'=>'Padre',
                            'options'=>array(
                                'null'=>'- Sin Padre -',
                                $parents)));
                        echo $form->input('Aco.alias', array('label'=>'Alias','size'=>50,'class'=>'noUppercase'));
                        echo $form->input('Aco.grupo', array('label'=>'Grupo','size'=>50,'class'=>'noUppercase'));
                        echo $form->input('Aco.orden', array('label'=>'Orden','class'=>'noUppercase'));
                        echo $form->input('Aco.titulo', array('label'=>'Titulo','size'=>50,'class'=>'noUppercase'));
                        echo $form->input('Aco.url', array('label'=>'URL','size'=>50,'class'=>'noUppercase'));
                        echo $form->input('Aco.con_cierre', array('label'=>'Cierre?'));
                    ?>
                </td>
            </tr>
        </table>
    </fieldset>
	<div class="actions"><p>
		<?php echo $form->submit('Guardar', array(
			'div' => false,
			'class' => 'btnsave'));?>
		<?php echo $html->link('Cancelar', array('action'=>'index'), array('class'=>'lnkbutton btncancel'));?>
	</p></div>
    <?php echo $form->end();?>
</div><p/>
<style type="text/css">
    input[type="text"], textarea{
        text-transform: none;
    }
</style>